#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	char arr[100] = { 0 };
	gets(arr);
	int count = 0;
	for (int i = 0; i < 100; i++) {
		if (arr[i] != '\0') {
			count++;
		}
		else {
			break;
		}
	}
	printf("%d", count);
	return 0;
}